package com.store.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
/**
 * 日志表(Log)表实体类
 *
 * @author yu
 * @since 2024-06-26 01:12:42
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("es_log")
public class Log  {
    //主键ID@TableId
    private Long id;

    //操作用户
    private String username;
    //接口描述信息
    private String businessName;
    //请求接口
    private String requestUrl;
    //请求方式
    private String requestMethod;
    //系统名称
    private String operationName;
    //浏览器名称
    private String browserName;
    //ip
    private String ip;
    //ip来源
    private String source;
    //请求接口耗时
    private Long spendTime;
    //创建时间
    private Date createTime;
    //请求参数
    private String paramsJson;
    //响应参数
    private String resultJson;
    //类地址
    private String classPath;
    //方法名
    private String methodName;



}
